package com.sh.tgtools.base;

import android.app.Application;
import android.content.Context;

import com.blankj.utilcode.util.Utils;

/**
 * Created by sh on 2019/5/28.
 */

public class MyApplication extends Application {
    private static MyApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        initCommonUtil();
    }
    private void initCommonUtil(){
        Utils.init(this);
    }

    public static Context getMyApplication() {
        return instance;
    }
}
